package fr.cie.blog.domainservice;

import fr.cie.blog.beans.Avatar;
import fr.cie.blog.beans.Card;

/**
 * @author AetM
 * 
 */
public interface IServiceAvatar extends IServiceGeneric<Avatar> {

	/**
	 * @param card
	 *            the Card which contains the wanted Avatar
	 * @return the Avatar used in the card
	 */
	Avatar findByCard(Card card);

	/**
	 * @param pAvatarName
	 *            the name to find
	 * @return the avatar
	 */
	Avatar findByName(String pAvatarName);
}